package com.wilmer.testRecordDetails.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 随堂测试记录详细对象 yw_test_records_details
 * 
 * @author zl
 * @date 2024-04-11
 */
public class YwTestRecordsDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 随堂测试记录详情id */
    private Long recordDetailsId;

    /** 随堂测试记录主表id */
    @Excel(name = "随堂测试记录主表id")
    private Long recordId;

    /** 测试题表id */
    @Excel(name = "测试题表id")
    private Long testDetailId;

    /** 学生提交的答案 */
    @Excel(name = "学生提交的答案")
    private String studentAnswer;

    /** 学生答案是否正确(1正确 2不正确 3待定) */
    @Excel(name = "学生答案是否正确(1正确 2不正确 3待定)")
    private String isCorrect;

    /** 学生在这道题目上获得的分数 */
    @Excel(name = "学生在这道题目上获得的分数")
    private Long marksAwarded;

    /** 教师对学生这道题目答案的反馈 */
    @Excel(name = "教师对学生这道题目答案的反馈")
    private String feedback;

    /** 随堂测试名 */
    private String testName;

    /** 学生名 */
    private String nickName;

    /** 学生头像 */
    private String avatar;

    /** 测试详情题目名 */
    private String questionText;

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getQuestionText() {
        return questionText;
    }

    public void setQuestionText(String questionText) {
        this.questionText = questionText;
    }

    public void setRecordDetailsId(Long recordDetailsId)
    {
        this.recordDetailsId = recordDetailsId;
    }

    public Long getRecordDetailsId() 
    {
        return recordDetailsId;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setTestDetailId(Long testDetailId) 
    {
        this.testDetailId = testDetailId;
    }

    public Long getTestDetailId() 
    {
        return testDetailId;
    }
    public void setStudentAnswer(String studentAnswer) 
    {
        this.studentAnswer = studentAnswer;
    }

    public String getStudentAnswer() 
    {
        return studentAnswer;
    }
    public void setIsCorrect(String isCorrect) 
    {
        this.isCorrect = isCorrect;
    }

    public String getIsCorrect() 
    {
        return isCorrect;
    }
    public void setMarksAwarded(Long marksAwarded) 
    {
        this.marksAwarded = marksAwarded;
    }

    public Long getMarksAwarded() 
    {
        return marksAwarded;
    }
    public void setFeedback(String feedback) 
    {
        this.feedback = feedback;
    }

    public String getFeedback() 
    {
        return feedback;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordDetailsId", getRecordDetailsId())
            .append("recordId", getRecordId())
            .append("testDetailId", getTestDetailId())
            .append("studentAnswer", getStudentAnswer())
            .append("isCorrect", getIsCorrect())
            .append("marksAwarded", getMarksAwarded())
            .append("feedback", getFeedback())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
